<!DOCTYPE html>
<html lang="zh-cn">

<head>
  <meta charset="UTF-8" />
  <title>AideaConsole</title>
  <link rel="stylesheet" href="popup.css" />
</head>

<body>
  <div id="logo-wrap">
    <img id="logo" src="logo_48.png" /><span id="logo_text" class="text">Aidea</span>
  </div>

  <div class="set-list">
    <div class="set-item">
      <span class="set_text">关闭快捷键</span>
      <div class="switch">
        <input type="checkbox" id="toggle1" />
        <label for="toggle1"></label>
        <!--localStorageKey:set1-->
      </div>
    </div>

    <!--开关选项
        <div class="set-item">
            <span class="set_text">项目2</span>
            <div class="switch">
                <input type="checkbox" id="toggle2" />
                <label for="toggle2"></label>
            </div>
        </div>
        -->
    <div class="set-item">
      <select id="model_list" name="model_list">
        <option value="" disabled selected>智慧搜索</option>
        <option value="Aidea">Aidea Intelligence</option>
        <option value="Qwen">Qwen</option>
        <option value="Moonshot">Moonshot</option>
        <option value="OpenAI">GPT-4o</option>
        <option value="DeepSeek">DeepSeek</option>
        <option value="BigModel">GLM-4</option>
        <option value="defmodel">自定义模型</option>
      </select>
    </div>

    <div class="set-item">
      <span class="set_text">开启记忆</span>
      <div class="switch">
          <input type="checkbox" id="toggle2" />
          <label for="toggle2"></label>
          <!--localStorageKey:set2-->
      </div>
  </div>

    <!--Aidea Intelligence 配置-->
    <div id="AideaIntelligence_Set" class="modelSet">
      <div class="set-item">
        <span class="set_text">联网搜索</span>
        <div class="switch">
          <input type="checkbox" id="toggle3" />
          <label for="toggle3"></label>
          <!--localStorageKey:set3-->
        </div>
      </div>

      <seek-bar name="volume" max="2" min="0" step="0.1" id="volume1" value="0.7" text="T"
        title="Temperature&#10参数越高生成的内容越多样，反之生成的内容更确定&#10取值范围：[0, 2)" data-id="Aidea_temperature"></seek-bar>
    </div>

    <!--Qwen 配置-->
    <div id="Qwen_Set" class="modelSet">
      <div class="set-item">
        <span class="set_text">联网搜索</span>
        <div class="switch">
          <input type="checkbox" id="toggle4" />
          <label for="toggle4"></label>
          <!--localStorageKey:set4-->
        </div>
      </div>

      <div class="set-item" id="apikey">
        <input type="password" id="QwenKey_input" name="apikey_input" placeholder="输入API密钥" />
      </div>

      <seek-bar name="volume" max="2" min="0" step="0.1" id="volume1" value="0.7" text="T"
        title="Temperature&#10参数越高生成的内容越多样，反之生成的内容更确定&#10取值范围：[0, 2)" data-id="Qwen_temperature"></seek-bar>
    </div>

    <!--Moonshot 配置-->
    <div id="Moonshot_Set" class="modelSet">
      <div class="set-item">
        <span class="set_text">联网搜索</span>
        <div class="switch">
          <input type="checkbox" id="" />
          <label for="toggle5"></label>
          <!--localStorageKey:set5-->
        </div>
      </div>

      <div class="set-item" id="apikey">
        <input type="password" id="MoonshotKey_input" name="apikey_input" placeholder="输入API密钥" />
      </div>

      <seek-bar name="volume" max="1" min="0" step="0.1" id="volume1" value="0.3" text="T"
        title="Temperature&#10参数越高生成的内容越多样，反之生成的内容更确定&#10取值范围：[0, 1]" data-id="Moonshot_temperature"></seek-bar>
    </div>

    <!--OpenAI 配置-->
    <div id="OpenAI_Set" class="modelSet">
      <div class="set-item">
        <span class="set_text">联网搜索</span>
        <div class="switch">
          <input type="checkbox" id="" />
          <label for="toggle6"></label>
          <!--localStorageKey:set6-->
        </div>
      </div>

      <div class="set-item" id="apikey">
        <input type="password" id="OpenAI_input" name="apikey_input" placeholder="输入API密钥" />
      </div>

      <seek-bar name="volume" max="2" min="0" step="0.1" id="volume1" value="0.7" text="T"
        title="Temperature&#10参数越高生成的内容越多样，反之生成的内容更确定&#10取值范围：[0, 2)" data-id="OpenAI_temperature"></seek-bar>
    </div>

    <!--DeepSeek 配置-->
    <div id="DeepSeek_Set" class="modelSet">
      <div class="set-item">
        <span class="set_text">联网搜索</span>
        <div class="switch">
          <input type="checkbox" id="" />
          <label for="toggle7"></label>
          <!--localStorageKey:set7-->
        </div>
      </div>

      <div class="set-item" id="apikey">
        <input type="password" id="DeepSeek_input" name="apikey_input" placeholder="输入API密钥" />
      </div>

      <seek-bar name="volume" max="2" min="0" step="0.1" id="volume1" value="1.0" text="T"
        title="Temperature&#10参数越高生成的内容越多样，反之生成的内容更确定&#10取值范围：[0, 2)" data-id="DeepSeek_temperature"></seek-bar>
    </div>

    <!--BigModel 配置-->
    <div id="BigModel_Set" class="modelSet">
      <div class="set-item">
        <span class="set_text">联网搜索</span>
        <div class="switch">
          <input type="checkbox" id="" />
          <label for="toggle8"></label>
          <!--localStorageKey:set8-->
        </div>
      </div>

      <div class="set-item" id="apikey">
        <input type="password" id="BigModel_input" name="apikey_input" placeholder="输入API密钥" />
      </div>

      <seek-bar name="volume" max="1" min="0" step="0.01" id="volume1" value="0.95" text="T"
        title="Temperature&#10参数越高生成的内容越多样，反之生成的内容更确定&#10取值范围：[0, 1)" data-id="BigModel_temperature"></seek-bar>
    </div>

        <!--自定义模型配置-->
        <div id="def_Set" class="modelSet">

          <div class="set-item">
            <input id="def_input_type" name="def_input_type" placeholder="输入模型名称" />
          </div>

          <div class="set-item">
            <input id="def_input_url" name="def_input_url" placeholder="输入模型接口" />
          </div>

          <div class="set-item" id="apikey">
            <input type="password" id="def_input" name="apikey_input" placeholder="输入API密钥" />
          </div>
    
          <seek-bar name="volume" max="2" min="0" step="0.1" id="volume1" value="0.7" text="T"
            title="Temperature&#10参数越高生成的内容越多样，反之生成的内容更确定&#10取值范围：[0, 2)" data-id="def_temperature"></seek-bar>
        </div>

    <div class="set-item">
      <button id="instructions">使用说明</button>
    </div>

  </div>

  <div id="info-wrap">
    <a id="info-a" href="https://github.com/Yoseya2410/AideaTabs" class="text" target="_blank">MIT Licensed | </a><a id="info-a" href="https://yoseya.top" class="text" target="_blank"> &copy;  Yoseya</a>
    <div id="versionWrap"><span id="versionBox"></span></div>
  </div>
  <script src="/aidea/js/components.js"></script>
  <script src="popup.js"></script>
</body>

</html>